package com.cq.hd.member.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邀请商家链接表
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_invite_business_url")
@ApiModel(value="TbInviteBusinessUrlPo对象", description="邀请商家链接表")
public class TbInviteBusinessUrlPo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "链接名称")
    @TableField("invite_name")
    private String inviteName;

    @ApiModelProperty(value = "邀请码")
    @TableField("invite_code")
    private String inviteCode;

    @ApiModelProperty(value = "试用期")
    @TableField("trial_day")
    private Integer trialDay;

    @ApiModelProperty(value = "活动发布次数")
    @TableField("active_count")
    private Integer activeCount;

    @ApiModelProperty(value = "经纪人数")
    @TableField("user_count")
    private Integer userCount;

    @ApiModelProperty(value = "链接有效期(0表示永久有效)")
    @TableField("url_valid_day")
    private Integer urlValidDay;

    @ApiModelProperty(value = "失效时间(创建时间+链接有效期)")
    @TableField("expire_time")
    private LocalDateTime expireTime;

    @ApiModelProperty(value = "成功入驻数")
    @TableField("settle_success_count")
    private Integer settleSuccessCount;

    @ApiModelProperty(value = "小程序码图片地址")
    @TableField("mini_img_url")
    private String miniImgUrl;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "删除状态:0-正常，1-已删除")
    @TableField("del_state")
    private Integer delState;


}
